package org.leon.io;

import java.io.InputStream;

/**
 * Created by leon.L on 2019/12/24.
 * Desc : 加载配置文件到内存中
 */
public class Resource {

    public static InputStream getResourceAsStream(String path) {
        return Resource.class.getClassLoader().getResourceAsStream(path);
    }

}
